package com.jason.www.pojo;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author JasonChoi
 * @since 2018-07-03
 */
public class Permissions extends Model<Permissions> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String theurl;
    private String description;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTheurl() {
        return theurl;
    }

    public void setTheurl(String theurl) {
        this.theurl = theurl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public static final String ID = "id";

    public static final String THEURL = "theurl";

    public static final String DESCRIPTION = "description";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Permissions{" +
        "id=" + id +
        ", theurl=" + theurl +
        ", description=" + description +
        "}";
    }
}
